/*  后台管理（博客管理，分类管理，标签管理...）的 css 代码*/
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff9f2;
}

/*  左边部分开始  */
.left {
    width: 250px;
    height: 500px;
    background-color: #283540;
    position: fixed;
    left: 0;
    top: 0;
}

.title {
    width: 250px;
    height: 100px;
    background-color: #283540;
    text-align: center;
    line-height: 100px;
    font-size: 24px;
    font-weight: bolder;
    border: 1px solid #343e47;
    box-sizing: border-box;
    color: whitesmoke;
    font-family: Tahoma;
}

.left ul {
    margin-top: 50px;
    width: 250px;
    height: 600px;
    background-color: #283540;
}

.left ul li {
    width: 250px;
    height: 70px;
    background-color: #283540;
    list-style: none;
    line-height: 70px;
    text-align: left;
    border: 1px solid #343e47;
    box-sizing: border-box;
    font-size: 18px;
    color: #b5b1ac;
}

.left ul li a {
    font-size: 18px;
    color: #b5b1ac;
    text-decoration: none;
    display: inline-block;
    width: 250px;
    height: 70px;
}

.left ul li a:hover {
    background-color: #1cbb97;
    color: #fff9f2;
}

/*  左边部分结束  */

/*  右边  */
.right {
    width: 1270px;
    height: 1000px;
    background-color: #fff9f2;
    float: right;
}

.right .nav {
    width: 1270px;
    height: 100px;
    background-color: #1cbb97;
    position: relative;
}

.right .nav .to-main {
    width: 95px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 200px;
    border: 1px solid #CCCCCC;
    font-size: 20px;
    font-weight: 800;
    line-height: 30px;
    text-align: center;
}

.right .nav .to-main a {
    display: block;
    width: 95px;
    height: 30px;
    text-decoration: none;
    color: whitesmoke;
}

.right .nav .logout {
    width: 72px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 80px;
    border: 1px solid #CCCCCC;
    text-align: center;
    line-height: 30px;
    font-weight: 800;
    font-size: 20px;
}

.right .nav .logout a {
    display: block;
    width: 72px;
    height: 30px;
    text-decoration: none;
    color: whitesmoke;
}

/*  因为 bootstrap 会改变所有 hr 的样式，所以这里要重新定义一下*/
.myhr {
    height: 2px;
    margin: 0;
}

/*  右边内容顶部  */
.right .content .content-top {
    margin: 20px auto;
    width: 1200px;
    height: 120px;
    border: 1px solid #ece6e0;
}

.content-top-title {
    height: 55px;
}


.content-top-title p {
    font-size: 22px;
    font-weight: bolder;
    font-family: Tahoma;
    color: #0e8dc7;
    line-height: 55px;
    margin-left: 25px;
}

/*      进行操作的一系列按钮*/
.content-top-option {
    width: 100%;
    height: 65px;
    position: relative;
}

.content-top-option #addBlog {
    width: 100px;
    height: 35px;
    background-color: #e6e1da;
    border: 1px solid #cccccc;
    font-weight: bolder;
    font-size: 15px;
    cursor: pointer;
    float: left;
    position: absolute;
    left: 20px;
    top: 15px;
    text-align: center;
    line-height: 35px;
}

.content-top-option #addBlog a {
    display: inline-block;
    width: 100px;
    height: 35px;
    text-decoration: none;
    line-height: 35px;
    color: #444241;
}

.content-top-option #addBlog a:hover {
    background-color: #d4cfc9;
}

.content-top-option .search-form {
    float: right;
    position: absolute;
    top: 15px;
    right: 105px;
}

.content-top-option #search-btn {
    width: 80px;
    height: 35px;
    border-radius: 3px;
    border: 1px solid #ccc;
    cursor: pointer;
    float: right;
    position: absolute;
    right: 10px;
    top: 15px;
    line-height: 35px;
    text-align: center;
    background-color: #e6e1da;
}

.content-top-option #search-text {
    width: 260px;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #ccc;
    line-height: 35px;
    font-size: 22px;
}

.content-top-option .add-form {
    width: 260px;
    height: 35px;
    position: absolute;
    float: left;
    left: 20px;
    top: 15px;
    display: none; /*  默认隐藏    */
}

.content-top-option #add-text {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    line-height: 35px;
    font-size: 22px;
}

.content-top-option #add-type {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 310px;
    top: 15px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #64ff5b;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    display: none; /*  默认隐藏    */
}

.content-top-option #cancel-add {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 415px;
    top: 15px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ff5037;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    display: none; /*  默认隐藏    */
}

/*      搜索框下面的提示内容  */
.search-ul {
    width: 260px;
    height: 1px;
    list-style: none;
    position: absolute;
    right: 105px;
    top: 55px;
    background-color: white;
    border-radius: 5px;
}

.search-ul li {
    width: 260px;
    height: 40px;
    /*padding-left: 4px;*/
    border: 1px solid #CCCCCC;
    box-sizing: border-box;
    background-color: white;
    /*  为了显示在最上面，设置position，同时设置 z-index，这样就能把设置了position的元素（也要设置z-index）覆盖*/
    position: relative;
    z-index: 5;
    font-weight: 400;
    font-size: 22px;
}

.search-ul li a {
    display: block;
    width: 260px;
    height: 40px;
    line-height: 40px;
    padding-left: 4px;
    text-decoration: none;
}

/*  右边内容底部  */
.right .content .content-bottom {
    margin: 20px auto;
    width: 1200px;
    height: 120px;
}

/*  右边顶部操作栏，相对定位*/
.content-bottom .operation {
    position: relative;
    z-index: 1;
}

/*  表格当中需要执行一些操作的按钮 */
.content-bottom .operation .change-btn {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 40px;
    top: 8px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #64ff5b;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;

}

.content-bottom .operation .delete-btn {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 135px;
    top: 8px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ff5037;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
}

.content-bottom .operation .delete-btn a {
    list-style: none;
    color: black;
}

.content-bottom .operation .update-form {
    width: 165px;
    height: 35px;
    position: absolute;
    left: -135px;
    top: 8px;
    display: none; /*  默认隐藏  */
}

.content-bottom .operation .update-text {
    width: 100%;
    height: 100%;
}

.content-bottom .operation .update-type {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 60px;
    top: 8px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #64ff5b;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    display: none; /*  默认隐藏    */
}

.content-bottom .operation .cancel-update {
    width: 80px;
    height: 35px;
    position: absolute;
    left: 155px;
    top: 8px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ff5037;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    display: none; /*  默认隐藏    */
}

#pagination {
    width: 1000px;
    height: 50px;
    margin: 0 auto;
}
